

	<div id="row" style="background-color:#FFF; padding:5px"> 
       	
                <ul class="breadcrumb-arrow">
                	<li><a href="<?php echo HOME;?>"><i class="fa fa-home"></i></a></li>
                    <li><a href="<?php echo url();?>">Find Truyện</a></li>
                </ul>
                	<div>
                    	<div class="alert alert-info"><strong>Chú ý link có dạng :</strong> http://webtruyen.com/all/ ; http://webtruyen.com/all/1 ; http://webtruyen.com/all/2 ; http://webtruyen.com/all/3</div>
                    	<form action="<?php echo url(); ?>" method="post">
                         		<input type="text" name="link" id="link" value="<?php if(isset($_POST['link'])){ echo $_POST['link']; }else{ echo "http://webtruyen.com/all/";} ?>" style="width:300px" />
                                <input type="submit" name="submit" value="SubMit"/>
                        </form>
                    </div>
                    
                    <?php
					if($data){
						?>
                        <Br/>
                        <Br/>
                        <table class="table table-bordered">
                        	<thead>
                            <tr>
                            	<td>STT</td>
                                 <td>ID</td>
                                <td>Tên Truyên</td>
                                <td>Mộng Time</td>
                               
                                <td>WebTruyen Time</td>
                                 <td>Mộng Tình Trạng</td>
                                 <td>WTruyen Tình Trạng</td>
                                  <td>Chương Mộng</td>
                                   <td>Chương Webtruyen</td>
                            
                            </tr>
                            <tbody>
                            	<?php
								$j=1;
								foreach($data as $row){
									?>
                                    <tr>
                                    <td><?php echo $j++; ?></td>
                                     <td><?php echo $row['id']; ?></td>
                                <td><?php echo $row['ten']; ?></td>
                                <td><?php echo $row['mong']; ?></td>
                               <td><?php echo $row['webtruyen']; ?></td>
                                <td><span style="color:#F00"><?php echo $row['tinhtrang']; ?></span></td>
                                <td><span style="color: #03C"><?php echo $row['status']; ?></span></td>
                                <td><?php echo $row['mong_chuong']; ?></td>
                                 <td><?php echo $row['webtruyen_chuong']; ?></td>
                               </tr>
                                    <?php
								}
								?>
                            </tbody>
                            
                            </thead>
                        </table>
                        
                        <?php
					
					}
					?>
                
                
         
       
       
       
       </div> <!-- End of row -->

                
                    

